home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
C-Cl
/
ClassAdministrator1.3.cpt
/
Classroom Administrator
/
background_8817.txt
< prev
next >
Wrap
Text File
|
1988-04-18
|
4KB
|
167 lines
-- background: 8817 from stack: in
-- bmap block id: 2387
-- flags: 0000
-- background id: 0
-- name:
-- part 2 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=148 top=108 right=129 bottom=347
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Name
-- part 3 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=148 top=139 right=160 bottom=347
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Phone Number
-- part 4 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=148 top=171 right=192 bottom=347
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: GradeToDate
----- HyperTalk script -----
On mouseUp
push this card
put char 1 of word 1 of field "Name" into temp
put temp & word 2 of field "Name" & "Grades" into cardname
visual effect iris open
go to card cardname
get loc of bkgnd field "Points"
click at it
put bkgnd field "Points" into points
pop card
if points < line 3 of card field "D" then
put "F" into field "GradeToDate"
exit mouseUp
end if
if points < line 2 of card field "D" then
put "D-" into field "GradeToDate"
exit mouseUp
end if
if points < line 1 of card field "D" then
put "D" into field "GradeToDate"
exit mouseUp
end if
if points < line 3 of card field "C" then
put "D+" into field "GradeToDate"
exit mouseUp
end if
if points < line 2 of card field "C" then
put "C-" into field "GradeToDate"
exit mouseUp
end if
if points < line 1 of card field "C" then
put "C" into field "GradeToDate"
exit mouseUp
end if
if points < line 3 of card field "B" then
put "C+" into field "GradeToDate"
exit mouseUp
end if
if points < line 2 of card field "B" then
put "B-" into field "GradeToDate"
exit mouseUp
end if
if points < line 1 of card field "B" then
put "B" into field "GradeToDate"
exit mouseUp
end if
if points < line 3 of card field "A" then
put "B+" into field "GradeToDate"
exit mouseUp
end if
if points < line 2 of card field "A" then
put "A-" into field "GradeToDate"
exit mouseUp
end if
if points < line 1 of card field "A" then
put "A" into field "GradeToDate"
exit mouseUp
end if
if points >= line 1 of card field "A" then put "A+" into field "GradeToDate"
End MouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 0003
-- rect: left=138 top=0 right=22 bottom=238
-- title width / last selected line: 0
-- icon id / first selected line: 1014 / 1014
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
go previous
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: 0003
-- rect: left=257 top=0 right=23 bottom=342
-- title width / last selected line: 0
-- icon id / first selected line: 1013 / 1013
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
go next
end mouseUp
-- part 11 (field)
-- low flags: 00
-- high flags: 4002
-- rect: left=119 top=202 right=291 bottom=460
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 0
-- line height: 13
-- part name: